package com.kexun.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kexun.entity.DO.Shop;

import java.util.List;

public interface ShopService  extends IService<Shop> {
    List<Shop> findShopByDeptId(int depId);

    IPage<Shop> findShopList(String shopName, int page, int limit);

    void updShowState(boolean state, int id);

    void addShop(Shop shop);

    void deleteById(int id);

    List<Shop> findAllShopList();

    List<Shop> findHasShopList(int depId);

    String findByShopVal(Integer shop);
}
